<?php
return [
    'chat' => [
        'app_id' => 'wx4b7a6808979bffcb',
        'secret' => '99d8a3abfba97425541fb08262b6e39d',
        'token'  => 'm2ab914cV35k6t3129R4u252f6n48a7s',
        'aes_key'  => 'E7gOxJVdaoqwtY0mtimWEKLEYOgTlmjR0nJ49Z8rGvS',
        'response_type'  => 'array',
        'payment' => [
            'merchant_id'        => '',
            'key'                => '',
            'cert_path'          => storage_path('cert/apiclient_cert.pem'), // XXX: 绝对路径！！！！
            'key_path'           => storage_path('cert/apiclient_key.pem'),      // XXX: 绝对路径！！！！
            'notify_url'         => env('APP_URL').'/wechat/trade/notify',       // 你也可以在下单时单独设置来想覆盖它
            // 'device_info'     => '013467007045764',
            // 'sub_app_id'      => '',
            // 'sub_merchant_id' => '',
            // ...
        ],
    ],
    'mini' => [
        'app_id' => 'wx08115383846923f6',
        'secret' => 'b0b51bfdb0229e8495fa744c7d7ed155',
        // 下面为可选项
        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'response_type' => 'array',
        'log' => [
            'level' => 'debug',
            'file' => storage_path('wechat.log'),
        ],
    ],
    'oauth' => [
        'app_id' => 'wx4b7a6808979bffcb',//微信公众号
        'secret' => '99d8a3abfba97425541fb08262b6e39d',//微信公众号
        'oauth' => [
            'scopes'  => ['snsapi_userinfo'],
            'callback'  => '/callback',//返回的路由
        ]
    ]
];